/*
 * FIR.h
 *
 *  Created on: 20-01-2013
 *      Author: Maciej
 */

#ifndef FIR_H_
#define FIR_H_

#define FIR_SIZE 2

struct sFIRR
{
	float coefs[1];
	float buffer[FIR_SIZE];
};

typedef struct sFIRR sFIR;

void FIR_Init(sFIR* filter);

float FIR_Get(sFIR* filter, float sample);



#endif /* FIR_H_ */
